package com.elysia.visionmanagerspringboot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.elysia.visionmanagerspringboot.domain.dto.AddResolutionDTO;
import com.elysia.visionmanagerspringboot.domain.dto.PhotoDTO;
import com.elysia.visionmanagerspringboot.domain.dto.VideoDTO;
import com.elysia.visionmanagerspringboot.domain.entity.Video;
import com.elysia.visionmanagerspringboot.result.Result;

import java.io.IOException;

public interface IVideoService extends IService<Video> {
    Result<Object> update(VideoDTO videoDTO) throws Exception;
    Result<Object> getList();
    Result<Object> delete(Long id);
    Result<Object> delete(Long id, String resolution);
    Result<Object> addResolution(Long id, AddResolutionDTO addResolutionDTO) throws Exception;
}
